<script type="text/template" id="cates_template">
  {{each list}}
  <tr>
    <td class="text-center"><input type="checkbox" class="checkitem" data-id="{{$value.cate_id}}"></td>
    <td>{{$value.cate_name}}</td>
    <td>{{$value.cate_slug}}</td>
    <td class="text-center">
      <a href="javascript:;" class="btn btn-info btn-xs edit-btn" data-id="{{$value.cate_id}}">编辑</a>
      <a href="javascript:;" class="btn btn-danger btn-xs del-btn" data-id="{{$value.cate_id}}">删除</a>
    </td>
  </tr>
  {{/each}}
</script>